﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.KaoQin
{
    /// <summary>
    /// 考勤例外表
    /// </summary>
    [Serializable]
    public class kqException : Entity
    {
        #region 数据表名称
        public static readonly string TableName = "kq_exception";
        #endregion

        #region 数据表字段结构
        public struct Columns
        {
            /// <summary>
            /// 盖章类型
            /// </summary>
            public static readonly string gz_lx = @"gz_lx";

            /// <summary>
            /// 盖章描述
            /// </summary>
            public static readonly string gz_ms = @"gz_ms";

            /// <summary>
            /// 盖章所属项目ID
            /// </summary>
            public static readonly string gz_proj_id = @"gz_proj_id";

            /// <summary>
            /// 盖章份数
            /// </summary>
            public static readonly string gz_fs = @"gz_fs";

            /// <summary>
            /// 盖章备注
            /// </summary>
            public static readonly string gz_bz = @"gz_bz";

        }
        #endregion

        #region 字段
        /// <summary>
        /// 考勤例外用户
        /// </summary>
        public virtual DB_NH.DB_Model.ywxt.t_sys_user ex_user { get; set; }

        /// <summary>
        /// 例外开始时间
        /// </summary>
        public virtual DateTime ex_date_begin { get; set; }

        /// <summary>
        /// 例外结束时间
        /// </summary>
        public virtual DateTime ex_date_end { get; set; }

        /// <summary>
        /// 例外类型
        /// </summary>
        public virtual string ex_type_name { get; set; }

        /// <summary>
        /// 里外说明
        /// </summary>
        public virtual string ex_describe { get; set; }

        /// <summary>
        /// 所属考勤申请流程ID，根据考勤的类型，所指的ID为不同数据表的ID字段
        /// </summary>
        public virtual string ex_kaoqin_id { get; set; }
        #endregion
    }
}
